package com.ruoyi.training.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 班级费用结算对象 class_payment_settlement
 * 
 * @author lqx
 * @date 2025-10-30
 */
public class ClassPaymentSettlement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 班级费用结算id */
    private String classPaymentSettlementId;

    /** 培训班id */
    @Excel(name = "培训班id")
    private String trainingClassId;

    /** 培训费用项目(字典) */
    @Excel(name = "培训费用项目(字典)")
    private String trainingCostProject;

    /** 数量 */
    @Excel(name = "数量")
    private Integer num;

    /** 价格 */
    @Excel(name = "价格")
    private Long price;

    /** 费用 */
    @Excel(name = "费用")
    private Long cost;

    /** 费用状态（1支出 2收入） */
    @Excel(name = "费用状态", readConverterExp = "1=支出,2=收入")
    private String costType;

    public void setClassPaymentSettlementId(String classPaymentSettlementId) 
    {
        this.classPaymentSettlementId = classPaymentSettlementId;
    }

    public String getClassPaymentSettlementId() 
    {
        return classPaymentSettlementId;
    }

    public void setTrainingClassId(String trainingClassId) 
    {
        this.trainingClassId = trainingClassId;
    }

    public String getTrainingClassId() 
    {
        return trainingClassId;
    }

    public void setTrainingCostProject(String trainingCostProject) 
    {
        this.trainingCostProject = trainingCostProject;
    }

    public String getTrainingCostProject() 
    {
        return trainingCostProject;
    }

    public void setNum(Integer num) 
    {
        this.num = num;
    }

    public Integer getNum() 
    {
        return num;
    }

    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }

    public void setCost(Long cost) 
    {
        this.cost = cost;
    }

    public Long getCost() 
    {
        return cost;
    }

    public void setCostType(String costType) 
    {
        this.costType = costType;
    }

    public String getCostType() 
    {
        return costType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("classPaymentSettlementId", getClassPaymentSettlementId())
            .append("trainingClassId", getTrainingClassId())
            .append("trainingCostProject", getTrainingCostProject())
            .append("num", getNum())
            .append("price", getPrice())
            .append("remark", getRemark())
            .append("cost", getCost())
            .append("costType", getCostType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
